<?php

declare(strict_types=1);

namespace app\admin\controller;

class Index
{
    public function index()
    {
        return view();
    }

    public function menu()
    {
        $data = [];
        return json(["code" => 0, "data" => $data, "msg" => "ok"]);
    }
}
